//using System;
//using System.Collections.Generic;
//using System.Text;

//using Weazel.Microblaze.Simulator.Engine;

//namespace Weazel.Toad.Application
//{
//  public class MicroblazeCosimulationSettings
//  {
//    private string lastProgramImageName;
//    public string LastProgramImageName
//    {
//      get { return lastProgramImageName; }
//      set { lastProgramImageName = value; }
//    }

//    private PlatformDescription platformDescription;
//    public PlatformDescription PlatformDescription
//    {
//      get
//      {
//        if (platformDescription == null)
//        {
//          // setup a default platform ..
//          platformDescription = new PlatformDescription();

//          PlatformDescription.ComponentReference mem1 =
//            new PlatformDescription.ComponentReference();

//          mem1.AssemblyName = "Weazel.Microblaze.Simulator";
//          mem1.TypeName = "Weazel.Microblaze.Simulator.Components.GenericRam.GenericRam";
//          mem1.LowAddress = 0;
//          mem1.HighAddress = 0x1fff;

//          PlatformDescription.ComponentReference mem2 =
//            new PlatformDescription.ComponentReference();

//          mem2.AssemblyName = "Weazel.Microblaze.Simulator";
//          mem2.TypeName = "Weazel.Microblaze.Simulator.Components.GenericRam.GenericRam";

//          mem2.LowAddress = 0x20100000;
//          mem2.HighAddress = 0x201fffff;

//          PlatformDescription.ComponentReference uart =
//            new PlatformDescription.ComponentReference();

//          uart.AssemblyName = "Weazel.Microblaze.Simulator";
//          uart.TypeName = "Weazel.Microblaze.Simulator.Components.OpbUartLite.OpbUartLite";
//          uart.LowAddress = 0x40600000;
//          uart.HighAddress = 0x4060ffff;

//          platformDescription.Components.Add(mem1);
//          platformDescription.Components.Add(mem2);
//          platformDescription.Components.Add(uart);
//        }

//        return platformDescription;
//      }
//    }
//  }
//}
